﻿using BasicLoggerModule.Service;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Autofac;
using Volo.Abp.Modularity;

namespace BasicLoggerModule
{
    [DependsOn(typeof(AbpAutofacModule))]
    public class ConsoloModel : AbpModule
    {
        public override async void ConfigureServices(ServiceConfigurationContext context)
        {
            context.Services.AddHostedService<ConsoleHostService>();
            context.Services.AddTransient<IProductService, ProductService>();
        }
    }
}
